import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { RouterModule } from '@angular/router'
import { routing } from './app.routes';

import { AppComponent } from './app.component';
import { LoginComponent } from './login/login.component';

import { TodoModule } from './todo/todo.module';
import { CoreModule } from './core/core.module';
// import { AuthService } from './core/auth.service';
// import { TodoService } from './todo/todo.service';
import { ButtonsModule } from 'ngx-bootstrap';
import { TypeaheadModule } from 'ngx-bootstrap';
@NgModule({
  declarations: [
    AppComponent,
    LoginComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,
    CoreModule,
    routing,
    TodoModule,
    ButtonsModule,
    TypeaheadModule.forRoot()
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }
